package com.guigu.tms.commons.aggregation.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 角色组织关系
 * </p>
 *
 * @author wj
 * @since 2022-10-21
 */
@TableName("pd_auth_role_org")
public class AuthRoleOrg implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 角色ID
#c_auth_role
     */
    private Long roleId;

    /**
     * 部门ID
#c_core_org
     */
    private Long orgId;

    private LocalDateTime createTime;

    private Long createUser;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }
    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    @Override
    public String toString() {
        return "AuthRoleOrg{" +
            "id=" + id +
            ", roleId=" + roleId +
            ", orgId=" + orgId +
            ", createTime=" + createTime +
            ", createUser=" + createUser +
        "}";
    }
}
